<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><#assign path="${request.getContextPath()}">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="${path}/css/layout.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="${path}/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="${path}/css/ReMooz.css" type="text/css" media="screen" charset="utf-8" />
<script src="${path}/mootools/mootools-1.2.1-core-yc.js" type="text/javascript"></script>
<script src="${path}/mootools/mootools-1.2-more.js" type="text/javascript"></script>
<script src="${path}/mootools/ReMooz.js" type="text/javascript"></script>
<script src="${path}/mootools/jd.gallery.js" type="text/javascript"></script>
<title><@s.text name='blog.globallink.album'/> ${list[0].album.title} <@s.text name='blog.title'/></title>
<link rel="short cut icon" HREF="${path}/images/favicon.ico" />

<link rel="stylesheet" href="${path}/album/css/albumPhoto.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript">
			function startGallery() {
				var myGallery = new gallery($('myGallery'), {
					timed: false,
					useReMooz: true,
					embedLinks: false
				});
			}
			window.addEvent('domready',startGallery);
</script>
</head>
<body>
		<div style="margin:5px auto;width:250px;text-algin:center;"><strong>Tip:某些图片过大，请点击看完整大图</strong></div>
		<div id="myGallery">
		 <#list list as albumPhoto>	
			<div class="imageElement">
				<h3></h3>
				<p>${albumPhoto.description}</p>
				<a href="${path}/${albumPhoto.photo.url}" title="open image" class="open"></a>
				<img src="${path}/${albumPhoto.photo.url}" class="full" />
				<img width ="100px" height="75px" src="${path}/${albumPhoto.photo.thumbnailPath()}" class="thumbnail" />
			</div>
		</#list>
		</div>
</body>

</html>